package com.atguigu.spring5.service;/*
@author joker
@create 2022-03-16 17:24
untitled
*/

import com.atguigu.spring5.DAO.UserDAO;

public class userService {
    private UserDAO userDAO;

    public void setUserDAO(UserDAO userDAO) {
        this.userDAO = userDAO;
    }

    public void add(){
        System.out.println("service add......");
        userDAO.update();
    }
}
